package com.community.dao;

import com.community.entity.Pay;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PayDao {

    public List<Pay> findAll(Integer start);

    public List<Pay> findByState(@Param("payState") Integer payState,@Param("start") Integer start);

    public void deleteById(@Param("payIdList") Integer[] payIdList);

//    public int findCount();

    public int findCount(@Param("state") Integer state);


}
